[NTG-context] Re: textbackground spacing offset

2024-01-31 Thread Marco Patzer
On Wed, 31 Jan 2024 19:41:02 +0100 Hans Hagen wrote: > >> How do it get the same spacing as in the framedtext case? > > > > Is there a solution to this? Or an explanation why the spacing > > differs? > these are fundamentally different mechanisms .. you can play with > \inframed in the

[NTG-context] Re: textbackground spacing offset

2024-01-31 Thread Hans Hagen
On 1/31/2024 7:15 PM, Marco Patzer wrote: On Thu, 16 Nov 2023 13:52:05 +0100 Marco Patzer wrote: I'm having problems getting the textbackground spacing offset to work. Example: \setupframedtext [offset=overlay, width=max, depthcorrection=off] \setuptextbackground [location

[NTG-context] Re: textbackground spacing offset

2024-01-31 Thread Marco Patzer
On Thu, 16 Nov 2023 13:52:05 +0100 Marco Patzer wrote: > I'm having problems getting the textbackground spacing offset to work. > Example: > > \setupframedtext > [offset=overlay, >width=max, >depthcorrection=off] > > \setuptextbackground > [loca

[NTG-context] textbackground spacing offset

2023-11-16 Thread Marco Patzer
Hi! I'm having problems getting the textbackground spacing offset to work. Example: \setupframedtext [offset=overlay, width=max, depthcorrection=off] \setuptextbackground [location=paragraph, %% offset=overlay, %% does nothing %% backgroundoffset=overlay, %% does

[NTG-context] textbackground for text of different size

2021-09-12 Thread Sylvain Hubert via ntg-context
Dear List, the red highlight block in the following example is not covering the two 40pt characters: \definetextbackground[important][frame=no,background=color,backgroundcolor=red] \starttext abc\important{123{\switchtobodyfont[40pt]45}xy}z \stoptext Is there an option that fixes this? Thanks!

Re: [NTG-context] textbackground not working

2021-06-25 Thread Hans Hagen
, the textbackground is not working. Could this be a bug or am I doing something wrong? Cheers, Christoph fixed in next upload (note: tex->mp parameters are redone, more in a pull than push fash

[NTG-context] textbackground not working

2021-06-25 Thread Christoph Reller
Hi, Consider the MWE: \definetextbackground[background][ background=color, backgroundcolor=gray] \starttext \starttextbackground[background] Test \stoptextbackground \stoptext In the latest version 2021-06-24 of ConTeXt LMTX, the textbackground is not working. Could this be a bug or am I

Re: [NTG-context] frameoffset in textbackground?

2021-06-08 Thread Wolfgang Schuster
Hans van der Meer schrieb am 07.06.2021 um 21:46: In the following MWE for a textbackground the parameter backgroundoffset has the expected effect. But for positive values only. A backgroundoffset=-10pt has no visible effect. But the real problem is the parameter frameoffset. No effect at all

[NTG-context] frameoffset in textbackground?

2021-06-07 Thread Hans van der Meer
In the following MWE for a textbackground the parameter backgroundoffset has the expected effect. But for positive values only. A backgroundoffset=-10pt has no visible effect.But the real problem is the parameter frameoffset. No effect at all, whatever frameoffset= is set to. dr. Hans van der Meer

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
On Thu, 2020-11-26 at 21:01 +0100, Johann Birnick wrote: > On Thu, 2020-11-26 at 20:11 +0100, Wolfgang Schuster wrote: > > Johann Birnick schrieb am 26.11.2020 um 19:42: > > > Ah, sorry again. I use > > > > > > \usemodule[Scite] > > > > > > at the begin of the document. Removing this helps. But

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
You have to use the textbackground environment with a custom background to draw the line, the sidebar environment doesn't work because the code blocks forces a line break at the begin and end. You can look at Adityas blog for a example to create such a background: https://adityam.github.io/context

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
On Thu, 2020-11-26 at 20:11 +0100, Wolfgang Schuster wrote: > Johann Birnick schrieb am 26.11.2020 um 19:42: > > Ah, sorry again. I use > > > > \usemodule[Scite] > > > > at the begin of the document. Removing this helps. But I need it for the C > > and > > Cpp pretty printer. So do you know

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
Johann Birnick schrieb am 26.11.2020 um 19:42: Ah, sorry again. I use \usemodule[Scite] at the begin of the document. Removing this helps. But I need it for the C and Cpp pretty printer. So do you know what's going on with Scite module? 1. There is still no working minimal example, just

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
On Thu, 2020-11-26 at 19:39 +0100, Johann Birnick wrote: > On Thu, 2020-11-26 at 19:35 +0100, Wolfgang Schuster wrote: > > Johann Birnick schrieb am 26.11.2020 um 19:26: > > > I didn't want to copy paste it :D Just add [option=XML] to \starttext like > > > this: > > > > Why do pass a option for

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
On Thu, 2020-11-26 at 19:35 +0100, Wolfgang Schuster wrote: > Johann Birnick schrieb am 26.11.2020 um 19:26: > > I didn't want to copy paste it :D Just add [option=XML] to \starttext like > > this: > > Why do pass a option for the typing environment to \starttext? > > >

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
Johann Birnick schrieb am 26.11.2020 um 19:26: I didn't want to copy paste it :D Just add [option=XML] to \starttext like this: Why do pass a option for the typing environment to \starttext? \definetextbackground[code][background=color, backgroundcolor=lightgray, frame=off,

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Aditya Mahajan
On Thu, 26 Nov 2020, Johann Birnick wrote: > On Thu, 2020-11-26 at 19:17 +0100, Wolfgang Schuster wrote: > > Johann Birnick schrieb am 26.11.2020 um 19:10: > > > On Thu, 2020-11-26 at 17:31 +0100, Wolfgang Schuster wrote: > > > > Johann Birnick schrieb am 26.11.2020 um 17:00: > > > > > On Thu,

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
On Thu, 2020-11-26 at 19:17 +0100, Wolfgang Schuster wrote: > Johann Birnick schrieb am 26.11.2020 um 19:10: > > On Thu, 2020-11-26 at 17:31 +0100, Wolfgang Schuster wrote: > > > Johann Birnick schrieb am 26.11.2020 um 17:00: > > > > On Thu, 2020-11-26 at 09:38 -0500, Aditya Mahajan wrote: > > > >

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
Johann Birnick schrieb am 26.11.2020 um 19:10: On Thu, 2020-11-26 at 17:31 +0100, Wolfgang Schuster wrote: Johann Birnick schrieb am 26.11.2020 um 17:00: On Thu, 2020-11-26 at 09:38 -0500, Aditya Mahajan wrote: On Thu, 26 Nov 2020, Johann Birnick wrote: How to surround such things properly?

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
On Thu, 2020-11-26 at 17:31 +0100, Wolfgang Schuster wrote: > Johann Birnick schrieb am 26.11.2020 um 17:00: > > On Thu, 2020-11-26 at 09:38 -0500, Aditya Mahajan wrote: > > > On Thu, 26 Nov 2020, Johann Birnick wrote: > > > > > > > How to surround such things properly? I just want a background

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
Johann Birnick schrieb am 26.11.2020 um 17:00: On Thu, 2020-11-26 at 09:38 -0500, Aditya Mahajan wrote: On Thu, 26 Nov 2020, Johann Birnick wrote: How to surround such things properly? I just want a background to these and a sidebar. No addition spacing / empty lines. A MWE will help...

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Aditya Mahajan
On Thu, 26 Nov 2020, Johann Birnick wrote: > On Thu, 2020-11-26 at 09:38 -0500, Aditya Mahajan wrote: > > On Thu, 26 Nov 2020, Johann Birnick wrote: > > > > > How to surround such things properly? I just want a background to these > > > and > > > a > > > sidebar. No addition spacing / empty

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
On Thu, 2020-11-26 at 09:38 -0500, Aditya Mahajan wrote: > On Thu, 26 Nov 2020, Johann Birnick wrote: > > > How to surround such things properly? I just want a background to these and > > a > > sidebar. No addition spacing / empty lines. > > A MWE will help... > > Aditya For example, take:

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Aditya Mahajan
On Thu, 26 Nov 2020, Johann Birnick wrote: > How to surround such things properly? I just want a background to these and a > sidebar. No addition spacing / empty lines. A MWE will help... Aditya ___ If your question

[NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
Hi there, in my document(s) I have enumerations (created with \defineenumeration) and "typing"s (created with \definetyping) and I need to give a specific layout to them. In particular, I want to add textbackground (created with \definetextbackground) and sometimes a sideba

Re: [NTG-context] Textbackground inside Layer?

2019-12-09 Thread Wolfgang Schuster
Jon Wong schrieb am 06.12.2019 um 04:13: \setupwhitespace[line] % A line's spacing between paragraphs. \starttext \definetextbackground[InfoText][ location=paragraph, frame=on] You can't use "location=paragraph" because the argument of the \setlayer command is a simple horizontal box

[NTG-context] Textbackground inside Layer?

2019-12-05 Thread Jon Wong
\setupwhitespace[line] % A line's spacing between paragraphs. \starttext \definetextbackground[InfoText][ location=paragraph, frame=on] \definelayer[testlayer] \setlayer[testlayer][x=1cm,y=3cm]{% \startInfoText \stopInfoText } \flushlayer[testlayer] \stoptext Doesn’t work. Only works if

Re: [NTG-context] Textbackground offset with multi-col paragraphs

2017-11-23 Thread Thomas Floeren
> On 2. Nov 2017, at 15:17, Thomas Floeren <t...@mac.com> wrote: > > Hi, > > I noticed that with one of the recent betas the right offset of my > textbackgrounds doesn’t work properly anymore when the textbackground > contains a multi-column “paragraph”. > >

Re: [NTG-context] Textbackground offset with multi-col paragraphs

2017-11-02 Thread Thomas Floeren
> On 2. Nov 2017, at 18:55, Pablo Rodriguez <oi...@gmx.es> wrote: > > On 11/02/2017 03:17 PM, Thomas Floeren wrote: >> Hi, >> >> I noticed that with one of the recent betas the right offset of my >> textbackgrounds doesn’t work properly anymore when the te

Re: [NTG-context] Textbackground offset with multi-col paragraphs

2017-11-02 Thread Pablo Rodriguez
On 11/02/2017 03:17 PM, Thomas Floeren wrote: > Hi, > > I noticed that with one of the recent betas the right offset of my > textbackgrounds doesn’t work properly anymore when the textbackground > contains a multi-column “paragraph”. > > The first box is OK and as expected

[NTG-context] Textbackground offset with multi-col paragraphs

2017-11-02 Thread Thomas Floeren
Hi, I noticed that with one of the recent betas the right offset of my textbackgrounds doesn’t work properly anymore when the textbackground contains a multi-column “paragraph”. A minimal: \defineparagraphs [TestPar][n=2, distance=7mm] \setupparagraphs [TestPar][1][width=2em

Re: [NTG-context] Textbackground issue with margin pictures

2017-04-03 Thread Hans Hagen
ctures, that is, if there is a margin picture at the side of a textbackground, then the textbackground is suppressed for the entire height of the margin picture. Here is a minimal: \setuplayout [ leftmargin=0mm, rightmargin=45mm, height=fit, width=fit, ] \definetextbackground [test] \starttext \placefigure [

Re: [NTG-context] Textbackground issue with margin pictures

2017-04-03 Thread Tom
ackgrounds now interfere with margin pictures, that >> is, >> if there is a margin picture at the side of a textbackground, then the >> textbackground is suppressed for the entire height of the margin picture. >> >> >> Here is a minimal: >> >> \setuplayout [ >> leftma

Re: [NTG-context] Textbackground issue with margin pictures

2017-04-03 Thread Hans Hagen
On 4/3/2017 2:20 AM, Tom wrote: Hi, today I updated from ConTeXt 2015.11.19 to the recent Beta 2017.03.26 16:15. I noticed that my textbackgrounds now interfere with margin pictures, that is, if there is a margin picture at the side of a textbackground, then the textbackground is suppressed

[NTG-context] Textbackground issue with margin pictures

2017-04-02 Thread Tom
Hi, today I updated from ConTeXt 2015.11.19 to the recent Beta 2017.03.26 16:15. I noticed that my textbackgrounds now interfere with margin pictures, that is, if there is a margin picture at the side of a textbackground, then the textbackground is suppressed for the entire height of the margin

Re: [NTG-context] RTL bug in textbackground

2016-07-03 Thread Hans Hagen
On 7/3/2016 6:46 PM, Mohammad Hossein Bateni wrote: Hello, When using \definetextbackground in RTL setting, the boundaries are not determined correctly (both for location=paragraph and location=text) and colors gets messed up. Here a sort-of-minimal example adapted from details.pdf. Is there

[NTG-context] RTL bug in textbackground

2016-07-03 Thread Mohammad Hossein Bateni
Hello, When using \definetextbackground in RTL setting, the boundaries are not determined correctly (both for location=paragraph and location=text) and colors gets messed up. Here a sort-of-minimal example adapted from details.pdf. Is there any particular keys I should use in RTL to fix the

Re: [NTG-context] Overlays as background in textbackground

2016-05-18 Thread Alan BRASLAU
Here is a trick (due to Hans, of course) to produce a watermark image. You can play with the idea in order to produce your own effect. \definecolor [percent] [s=1,a=1,t=.9] \externalfigure [cow] [background={foreground,color},backgroundcolor=percent] Alan On Wed, 18 May 2016 11:55:11 +

Re: [NTG-context] Overlays as background in textbackground

2016-05-18 Thread Meer, Hans van der
This code from three years back ia a reply to a question of placing an overlay background. Because the cow is very black I am curious if the \externalfigure can have a paramter to change the alpha of the cow, making it more transparent. By the way, it is not out of curiosity only. If possible

[NTG-context] textbackground

2015-02-26 Thread Alan BRASLAU
Hello, For a multilingual document, alternating one language or another, not necessarily a bilingual, translated text, I thought about using textbackground to set-off paragraphs. This technique could also apply to a single language text having multiple levels of information, perhaps statements

Re: [NTG-context] textbackground

2015-02-26 Thread Hans Hagen
On 2/26/2015 10:22 AM, Alan BRASLAU wrote: Hello, For a multilingual document, alternating one language or another, not necessarily a bilingual, translated text, I thought about using textbackground to set-off paragraphs. This technique could also apply to a single language text having multiple

[NTG-context] textbackground within framedtext

2015-02-18 Thread Christoph Reller
Hi, How can I use textbackground within framedtext. In the following MWE, the background extends beyond the frame of framedtext. Do I have to use a different mechanism? \definetextbackground[bg][ background=color, backgroundcolor=yellow, frame=off] \starttext \startframedtext Before

Re: [NTG-context] textbackground inside itemize

2014-07-09 Thread Hans Hagen
On 7/9/2014 5:55 AM, Troy Henderson wrote: The following code produces a textbackground whose background color enters into the itemize label area on the second (and succeeding) lines of the paragraph. I would appreciate advice on fixing this. i'll send you a (simple one line) patch to test

[NTG-context] textbackground inside itemize

2014-07-08 Thread Troy Henderson
The following code produces a textbackground whose background color enters into the itemize label area on the second (and succeeding) lines of the paragraph. I would appreciate advice on fixing this. Thanks, Troy Henderson --- \setuppapersize[letter,landscape][letter,landscape

Re: [NTG-context] Overlays as background in textbackground

2013-07-15 Thread Hans Hagen
On 7/14/2013 8:54 PM, Marco Patzer wrote: Hi, overlays are not displayed when used as a background for textbackground. Is this a bug or are overlays not supported? in principle we can make it pluggable (given that there is some sensible way to pass info and real need

Re: [NTG-context] Overlays as background in textbackground

2013-07-15 Thread Marco Patzer
On 2013–07–15 Hans Hagen wrote: On 7/14/2013 8:54 PM, Marco Patzer wrote: Hi, overlays are not displayed when used as a background for textbackground. Is this a bug or are overlays not supported? in principle we can make it pluggable (given that there is some sensible way to pass info

[NTG-context] Overlays as background in textbackground

2013-07-14 Thread Marco Patzer
Hi, overlays are not displayed when used as a background for textbackground. Is this a bug or are overlays not supported? \defineoverlay [myoverlay] [\ssd Foo] \definetextbackground [mybackgroundColour] [background=color, backgroundcolor=gray] \definetextbackground [mybackgroundOverlay

Re: [NTG-context] Overlays as background in textbackground

2013-07-14 Thread Wolfgang Schuster
Am 14.07.2013 um 20:54 schrieb Marco Patzer home...@lavabit.com: Hi, overlays are not displayed when used as a background for textbackground. Is this a bug or are overlays not supported? Overlays are a framed feature (the page background is a frame too) and textbackgrounds are images which

Re: [NTG-context] Overlays as background in textbackground

2013-07-14 Thread Marco Patzer
On 2013–07–14 Wolfgang Schuster wrote: Overlays are a framed feature (the page background is a frame too) and textbackgrounds are images which are drawn on the page like overlays. MetaPost graphics can be hooked into the textbackground using the mp and method keys. So apparently

Re: [NTG-context] Multi-page textbackground ignores topoffset

2013-01-30 Thread Andre Caldas
Nicholas, Is there any way to get a multi-page textbackground to respect topoffset on each page? From the second page onwards, it leaves no offset at the top. I have the same problem. A small-not-so-good-hack would be to define a tiny backgroundoffset as well. This messes the layout a little

Re: [NTG-context] Multi-page textbackground ignores topoffset

2013-01-30 Thread Hans Hagen
On 1/30/2013 6:25 PM, Andre Caldas wrote: Nicholas, Is there any way to get a multi-page textbackground to respect topoffset on each page? From the second page onwards, it leaves no offset at the top. I have the same problem. A small-not-so-good-hack would be to define a tiny

Re: [NTG-context] Multi-page textbackground ignores topoffset

2012-10-25 Thread Nicholas Ulle
Hello all, I tried working around this by wrapping the textbackground in a background with the correct topoffset and then manually correcting for the itemize indent, but on the first page this doubles the topoffset and introduces problems with the bottomoffset. If this gives anyone an idea

[NTG-context] Multi-page textbackground ignores topoffset

2012-10-18 Thread Nicholas Ulle
Hi, Is there any way to get a multi-page textbackground to respect topoffset on each page? From the second page onwards, it leaves no offset at the top. I don't think I can use background instead, as I'm nesting the textbackgound under itemize and also use itemize within it (correct me

[NTG-context] Increase textbackground page break white space

2012-05-08 Thread Kip Warner
Hey list, Some of my textbackgrounds occupy more than one page and break part way through them, as expected. Where their containing text is split at the page break, I am finding that the frame is too close to the contents. So I'd like to increase the white space of the bottom and top of the

Re: [NTG-context] Still Problems With TextBackground bottomoffset / topoffset

2012-01-31 Thread Hans Hagen
On 31-1-2012 08:24, luigi scarso wrote: On Tue, Jan 31, 2012 at 5:18 AM, Kip Warnerk...@thevertigo.com wrote: Hey Hans, Aditya, and Wolfgang, You gentlemen seem to be very knowledgeable with ConTeXt, Yes, at least Hans. IIRC he is the *only* author of ConTeXt. well but sometimes others

Re: [NTG-context] Still Problems With TextBackground bottomoffset / topoffset

2012-01-31 Thread Kip Warner
On Tue, 2012-01-31 at 09:50 +0100, Hans Hagen wrote: well but sometimes others beat me in knowledge about the internals -) Great, but can either of you help with the question? =) -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com

Re: [NTG-context] Still Problems With TextBackground bottomoffset / topoffset

2012-01-31 Thread Aditya Mahajan
goes right to the edge of the page top or bottom without any whitespace. Do you have to use textbackground (assuming, of course, that you are using MkIV)? Regular backgrounds take care of top and bottom offsets: \definebackground [whatever] [topoffset=1cm, bottomoffset=1cm, frame

Re: [NTG-context] Still Problems With TextBackground bottomoffset / topoffset

2012-01-31 Thread Kip Warner
On Tue, 2012-01-31 at 19:25 -0500, Aditya Mahajan wrote: Do you have to use textbackground (assuming, of course, that you are using MkIV)? I think so. I can't remember why, but someone on the list probably made a compelling argument for its use. The main advantage of textbackground

Re: [NTG-context] Still Problems With TextBackground bottomoffset / topoffset

2012-01-31 Thread Kip Warner
On Wed, 2012-02-01 at 01:15 +0100, luigi scarso wrote: Do you have a small complete example ? Sure: \definetextbackground[GeneralDocument][ location=paragraph, topoffset=1.0cm, bottomoffset=1.0cm, leftoffset=1.0cm, rightoffset=1.0cm, before={

[NTG-context] Still Problems With TextBackground bottomoffset / topoffset

2012-01-30 Thread Kip Warner
Hey Hans, Aditya, and Wolfgang, You gentlemen seem to be very knowledgeable with ConTeXt, so I will run a question by you that has been plaguing me for months. I am using the following to typeset a text box containing text. \definetextbackground[GeneralDocument][ location=paragraph,

Re: [NTG-context] Still Problems With TextBackground bottomoffset / topoffset

2012-01-30 Thread luigi scarso
On Tue, Jan 31, 2012 at 5:18 AM, Kip Warner k...@thevertigo.com wrote: Hey Hans, Aditya, and Wolfgang, You gentlemen seem to be very knowledgeable with ConTeXt, Yes, at least Hans. IIRC he is the *only* author of ConTeXt. -- luigi

[NTG-context] TextBackground bottomoffset / topoffset

2011-12-25 Thread Kip Warner
Hey list, I am using the following to typeset a text box containing text. \definetextbackground[GeneralDocument][ location=paragraph, color=color_text, background=color, backgroundcolor=colour_page, framecolor=colour_text, topoffset=1.0cm,

Re: [NTG-context] Broken textbackground

2011-12-19 Thread Otared Kavian
, no \framedtext appears (thee rsult is the same when \framedtext is before textbackground). The example is: \starttext \definetextbackground[test][backgroundcolor=lightgray] \starttextbackground[test] \input ward \input ward \stoptextbackground \startframedtext \input knuth \stopframedtext

Re: [NTG-context] Broken textbackground

2011-12-19 Thread Hans Hagen
it follows \startbackground …. \stopbackground, no \framedtext appears (thee rsult is the same when \framedtext is before textbackground). The example is: \starttext \definetextbackground[test][backgroundcolor=lightgray] \starttextbackground[test] \input ward \input ward \stoptextbackground

[NTG-context] Broken textbackground

2011-12-18 Thread Otared Kavian
Dear Hans, For your information it seems that in the latest beta, textbackground is broken: minimal example below, and the output can be found here: http://dl.dropbox.com/u/4316076/textbackground-bug.pdf Best regards: OK %%% begin textbackground-bug.tex \starttext \definetextbackground

Re: [NTG-context] TextBackground text area

2011-11-27 Thread Kip Warner
On Wed, 2011-11-23 at 21:52 -0500, Aditya Mahajan wrote: Why not just increase the value of leftoffset and rightoffset? This seems to work, but I find a problem is that if the text box spans multiple pages, bottomoffset / topoffset are ignored at the points where the page breaks. Suggestions?

Re: [NTG-context] TextBackground text area

2011-11-24 Thread Kip Warner
On Wed, 2011-11-23 at 21:52 -0500, Aditya Mahajan wrote: Why not just increase the value of leftoffset and rightoffset? This seems to work, but I find a problem is that if the text box spans multiple pages, bottomoffset / topoffset are ignored at the points where the page breaks. Suggestions?

[NTG-context] TextBackground text area

2011-11-23 Thread Kip Warner
Hey folks, I've been pulling my hair out for hours, as I can't seem to figure out how to set the margin with and height for a textbackground area so the text doesn't start immediately at the left frame line and go to the right frame line. I am using this: \definetextbackground[FramedText

Re: [NTG-context] TextBackground text area

2011-11-23 Thread Aditya Mahajan
On Wed, 23 Nov 2011, Kip Warner wrote: I've been pulling my hair out for hours, as I can't seem to figure out how to set the margin with and height for a textbackground area so the text doesn't start immediately at the left frame line and go to the right frame line. I am using

Re: [NTG-context] TextBackground text area

2011-11-23 Thread Kip Warner
On Wed, 2011-11-23 at 21:52 -0500, Aditya Mahajan wrote: Why not just increase the value of leftoffset and rightoffset? Because then the text is fine on the left side, but then goes past the right frame border. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred

[NTG-context] textbackground

2011-11-19 Thread Hans van der Meer
I get the impression that textbackground is not yet completely repaired in: The small example below shows that location text starts at the left margin instead of at the chosen point in the text. That is, the green part should be text with background instead of result. This is text w. Paragraph

[NTG-context] textbackground broken?

2011-11-16 Thread Hans van der Meer
Is textbackground broken in mkiv? I need its usage (it seems the recommended way to do backgrounds). The following minimal example fails. Who is wrong? Is it me or is it ConTeXt? ConTeXt ver: 2011.11.04 14:15 MKIV fmt: 2011.11.13 int: english/english % Testing textbackground \setuppapersize

[NTG-context] textbackground and protrusion

2010-06-22 Thread Paul Schalck
Hi! Currently (Context beta 2010-06-20 / Luatex 0.60.1), textbackground and protrusion don't work together. Here's a little test file: --- \showframe \definefontfeature[test][mode=node,script=latn,kern=yes,trep=yes,tlig=yes,protrusion=quality] \definetextbackground

[NTG-context] textbackground and protrusion (update)

2010-06-22 Thread Paul Schalck
It seems that the typographical quotation marks got lost in my test file. It has thus become pretty much useless. Just enter some other character instead to make protrusion visible. ___ If your question is of

[NTG-context] textbackground frame

2010-05-26 Thread Horacio Suarez
hello all I was using this to have a framed text but now it's not working anymore, even in context live. what i'm missing? thankyou in advance. % \starttext \definetextbackground[marco][backgroundcolor=lightgray,background=color,frame=on,location=paragraph] \starttextbackground[marco]

Re: [NTG-context] textbackground frame

2010-05-26 Thread Aditya Mahajan
On Wed, 26 May 2010, Horacio Suarez wrote: hello all I was using this to have a framed text but now it's not working anymore, even in context live. what i'm missing? thankyou in advance. % \starttext

Re: [NTG-context] textbackground frame

2010-05-26 Thread Horacio Suarez
Thankyou very much! Date: Wed, 26 May 2010 18:12:54 -0400 From: adit...@umich.edu To: ntg-context@ntg.nl Subject: Re: [NTG-context] textbackground frame On Wed, 26 May 2010, Horacio Suarez wrote: hello all I was using this to have a framed text but now it's not working

[NTG-context] Textbackground bug [repost]

2009-04-25 Thread Diego Depaoli
[I got no answers to my previous post] With page imposition, in luatex, background overrides text \setuppapersize[A4][A3,landscape] \setuparranging[2SIDE] % --bug here \setupcolors[state=start] \definetextbackground[intro] [backgroundcolor=gray, backgroundoffset=.25cm, offset=.5cm,

Re: [NTG-context] Textbackground bug [repost]

2009-04-25 Thread Wolfgang Schuster
Am 25.04.2009 um 18:15 schrieb Diego Depaoli: [I got no answers to my previous post] With page imposition, in luatex, background overrides text context --arrange filename Wolfgang ___ If your question is of

Re: [NTG-context] Textbackground bug [repost]

2009-04-25 Thread Diego Depaoli
2009/4/25 Wolfgang Schuster schuster.wolfg...@googlemail.com: Am 25.04.2009 um 18:15 schrieb Diego Depaoli: [I got no answers to my previous post] With page imposition, in luatex, background overrides text context --arrange filename Thanks! but I'm a bit confused... in pdftex or xetex the

[NTG-context] Textbackground with leftframe

2008-09-23 Thread holzminister
Hi! 1) I wanted to color some text inside a columnset-environment. That works fine for text that stays in one column or spans two consecutive ones. But if there's a pagebreak after the first page, only the left column gets the background. From page two on everything is fine again. Any ideas how

Re: [NTG-context] frameoffset in textbackground

2008-09-12 Thread Taco Hoekwater
Wolfgang Werners-Lucchini wrote: Hallo, I asked this question a week ago, but got no answer. Does anybody know what is 'frameoffset' for? frameoffset only seems to do something useful in horizontal mode. Try this, to see what it does: \starttext A\framed[frameoffset=5mm]{B}A \stoptext

[NTG-context] frameoffset in textbackground

2008-09-11 Thread Wolfgang Werners-Lucchini
Hallo, I asked this question a week ago, but got no answer. Does anybody know what is 'frameoffset' for? I can not see any difference with and without this parameter. -- \setupcolors[state=start] \definetextbackground[strong] [backgroundcolor=lightgray,

[NTG-context] frameoffset in textbackground

2008-09-04 Thread Wolfgang Werners-Lucchini
Hallo, what is 'frameoffset' for? There seems to be no difference with and without this key. -- \setupcolors[state=start] \definetextbackground[strong] [backgroundcolor=lightgray, location=paragraph, frame=on, frameoffset=5mm] \starttext bla

Re: [NTG-context] error in textbackground with metapost

2007-07-19 Thread luigi scarso
On 7/18/07, Hans van der Meer [EMAIL PROTECTED] wrote: There must be something badly amiss in the textbackground processing. Below a small example demonstrating the problem. When a block falls badly on a page boundary an error occurs as shown. One may have to tweak the \blank[] in order

[NTG-context] error in textbackground with metapost

2007-07-18 Thread Hans van der Meer
There must be something badly amiss in the textbackground processing. Below a small example demonstrating the problem. When a block falls badly on a page boundary an error occurs as shown. One may have to tweak the \blank[] in order to get the error depending on local font settings etc

[NTG-context] textbackground inside framed

2006-10-03 Thread Peter Rolf
Hi, I need a textbackground inside a \framed macro, which uses it's own background (overlay). Sadly the textbackground appears behind the framed background and my attempts to change this order haven't succeeded. \setuptextbackground[foo] [level=+1] brings the textbackground to the top

Re: [NTG-context] Very strange bug related to textbackground

2006-09-27 Thread Hans Hagen
Duncan Hothersall wrote: Just downloaded and tried beta 'ver 2006.09.25 23:38 MK II' - same result I'm afraid. then i need a better test file + explanation (or maybe i have some local patch) Hans You are not seeing the effect? I have put some files up on the web,

Re: [NTG-context] Very strange bug related to textbackground

2006-09-27 Thread Peter Rolf
Hans Hagen wrote: Duncan Hothersall wrote: Just downloaded and tried beta 'ver 2006.09.25 23:38 MK II' - same result I'm afraid. then i need a better test file + explanation (or maybe i have some local patch) Hans You are not seeing the effect? I have put some files up on

Re: [NTG-context] Very strange bug related to textbackground

2006-09-27 Thread Taco Hoekwater
Peter Rolf wrote: can someone confirm this with the latest beta? it seems to work here doesn't work here It didn't work here either, but it did when I started using Hans' experimental context source file. :-) Taco ___ ntg-context mailing list

Re: [NTG-context] Very strange bug related to textbackground

2006-09-26 Thread Duncan Hothersall
Duncan Hothersall wrote: I have been fighting with this one for ages, and have now narrowed down the culprit, but I do not understand why it happens. Latest (non-beta) ConTeXt, also tested in the live garden (same result): and the beta? Just downloaded and tried beta 'ver 2006.09.25

Re: [NTG-context] Very strange bug related to textbackground

2006-09-26 Thread Duncan Hothersall
Just downloaded and tried beta 'ver 2006.09.25 23:38 MK II' - same result I'm afraid. then i need a better test file + explanation (or maybe i have some local patch) Hans You are not seeing the effect? I have put some files up on the web, generated with the latest beta. The (bad)

Re: [NTG-context] Very strange bug related to textbackground

2006-09-26 Thread Hans Hagen
Duncan Hothersall wrote: Duncan Hothersall wrote: I have been fighting with this one for ages, and have now narrowed down the culprit, but I do not understand why it happens. Latest (non-beta) ConTeXt, also tested in the live garden (same result): and the beta? Just

[NTG-context] Very strange bug related to textbackground

2006-09-25 Thread Duncan Hothersall
unrelated textbackground (uncomment the third line), both captions veer off upwards, apparently a distance related to the number of lines in the title (play with the dorecurse numbers to see the effects). It doesn't seem to matter what the background is called, whether or not it is ever used, or what

Re: [NTG-context] Very strange bug related to textbackground

2006-09-25 Thread Sanjoy Mahajan
I don't have a fix, only chiming in that I've seen the same issue. It happened when I was learning about backgrounds, so I figured it was my ignorance and didn't save the test file. But I'll try to reconstruct it. -Sanjoy `Never underestimate the evil of which men of power are capable.'

Re: [NTG-context] Very strange bug related to textbackground

2006-09-25 Thread Hans Hagen
Duncan Hothersall wrote: I have been fighting with this one for ages, and have now narrowed down the culprit, but I do not understand why it happens. Latest (non-beta) ConTeXt, also tested in the live garden (same result): and the beta?

Re: [NTG-context] textbackground trouble

2006-06-29 Thread Hans Hagen
Aditya Mahajan wrote: Hi Hans and Taco, Something goes wrong when a textbackground occurs right at the page boundary. Please have a look at the attached file (a snippet from an updated copy of Myway on using new math features). so, what goes wrong here

Re: [NTG-context] textbackground trouble

2006-06-29 Thread Aditya Mahajan
On Thu, 29 Jun 2006, Hans Hagen wrote: Aditya Mahajan wrote: Hi Hans and Taco, Something goes wrong when a textbackground occurs right at the page boundary. Please have a look at the attached file (a snippet from an updated copy of Myway on using new math features). so, what goes wrong

Re: [NTG-context] textbackground trouble

2006-06-29 Thread Hans Hagen
Aditya Mahajan wrote: I get Runaway argument? {boxgridtype := 0 ; ! Paragraph ended before \flushTeXtexts was complete. to be read again \par argument boxgridtype := 0 ;\par hm, did you use the latest version? (looks like a endofline problem, i.e. some empty line

Re: [NTG-context] textbackground trouble

2006-06-29 Thread Aditya Mahajan
On Thu, 29 Jun 2006, Hans Hagen wrote: Aditya Mahajan wrote: I get Runaway argument? {boxgridtype := 0 ; ! Paragraph ended before \flushTeXtexts was complete. to be read again \par argument boxgridtype := 0 ;\par hm, did you use the latest version? (looks like a

  1   2   >